<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <th:block th:insert="common/common::head"></th:block>
</head>
<body class="pear-container">
<div class="layui-card">
    <div class="layui-card-body">
        <form class="layui-form" id="searchForm">
            <div class="layui-row layui-col-space10 layui-form-item">
                <div class="layui-col-md3">
                    <label class="layui-form-label">接口注释:</label>
                    <div class="layui-input-block">
                        <input type="text" name="comment" placeholder="" class="layui-input">
                    </div>
                </div>
                <div class="layui-col-md3">
                    <label class="layui-form-label">class路径:</label>
                    <div class="layui-input-block">
                        <input type="text" name="className" placeholder="" class="layui-input">
                    </div>
                </div>
                <div class="layui-col-md3">
                    <label class="layui-form-label">接口方法:</label>
                    <div class="layui-input-block">
                        <input type="text" name="methodName" placeholder="" class="layui-input">
                    </div>
                </div>
                <div class="layui-col-md3">
                    <label class="layui-form-label">是否是API:</label>
                    <div class="layui-input-block">
                        <select name="isApi">
                            <option value="" selected>全部</option>
                            <option value="1">是</option>
                            <option value="0">不是</option>
                        </select>
                    </div>
                </div>
            </div>
        </form>
    </div>
</div>
<div class="layui-card">
    <div class="layui-card-body">
        <table id="power-table" lay-filter="power-table"></table>
    </div>
</div>

<script type="text/html" id="power-toolbar">
    <div class="layui-row">
        <div class="layui-col-md10">
            <div class="pear-btn-group">
                <button class="pear-btn pear-btn-warming" round lay-event="batch">
                    批量操作当前查询结果
                </button>
            </div>
            <div class="pear-btn-group">
                <button class="pear-btn pear-btn-warming" round lay-event="pickBatch">
                    批量操作当前选择结果
                </button>
            </div>
            <div class="pear-btn-group">
                <button class="pear-btn pear-btn-success" round lay-event="reload">
                    <i class="layui-icon layui-icon-refresh"></i>
                    重载权限
                </button>
            </div>
            <span style="margin-left: 10px;color: red" id="pickMsg"></span>
        </div>
        <div class="layui-col-md2">
            <div class="pear-btn-group">
                <button class="pear-btn pear-btn-primary" round lay-event="search">
                    <i class="layui-icon layui-icon-search"></i>
                    查询
                </button>
                <button class="pear-btn" round onclick="document.getElementById('searchForm').reset()">
                    <i class="layui-icon layui-icon-refresh"></i>
                    重置
                </button>
            </div>
        </div>
    </div>
</script>

<script type="text/html" id="power-bar">
    <button class="pear-btn pear-btn-primary pear-btn-sm" lay-event="role">
        <i class="layui-icon layui-icon-edit"></i>
        编辑角色
    </button>
</script>

<script type="text/html" id="index">
    {{d.LAY_TABLE_INDEX+1}}
</script>
</body>

<script th:replace="common/common::common"></script>
<script th:src="@{/static/common/js/sys/authority/apiIndex.js}"></script>

</html>